package com.renjianbo.project.module.flowable.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.renjianbo.project.module.flowable.core.domain.ProcessQuery;
import com.renjianbo.project.module.flowable.domain.vo.WfDeployVo;
import com.renjianbo.project.module.flowable.common.model.Query;

import java.util.List;

/**
 * @author KonBAI
 * @createTime 2022/6/30 9:03
 */
public interface IWfDeployService {

    IPage<WfDeployVo> queryPageList(ProcessQuery processQuery, Query pageQuery);

    IPage<WfDeployVo> queryPublishList(String processKey, Query pageQuery);

    void updateState(String definitionId, String stateCode);

    String queryBpmnXmlById(String definitionId);

    void deleteByIds(List<String> deployIds);
}
